package com.liuwa.common.core.service;

import com.liuwa.common.core.dao.SortableCurdDao;
import com.liuwa.common.core.domain.SortableEntity;

/**
 * @author: Liuwa
 * @Date: 2023-10-27
 * @Description: 可排序 CURD Service 基类
 */
public interface SortableCurdService<Pk, D extends SortableCurdDao<Pk, T>, T extends SortableEntity> extends CurdService<Pk, D, T>{


    /**
     * 获取最大排序值
     * @return
     */
    int getMaxDisplayIndex();

}
